package com.ehome.poct.core.dao.mybatis;

import com.ehome.mybatisplus.support.AbstractCrudRepository;
import com.ehome.poct.core.api.dto.report.BldAnalysisDTO;
import com.ehome.poct.core.dao.entity.report.BldAnalysisDO;
import com.ehome.poct.core.dao.mybatis.mapper.report.BloodAnalysisMapper;
import com.ehome.poct.core.repository.report.BldAnalysisRepository;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Repository;

/**
 * cellRepositoryImpl
 *
 * @author wuyingchao
 * @Date 2022-05-17 09:48
 */
@Repository
@AllArgsConstructor
public class BldAnalysisRepositoryImpl extends AbstractCrudRepository<BldAnalysisDO, BldAnalysisDTO> implements BldAnalysisRepository {
    private final BloodAnalysisMapper mapper;
    @Override
    public BldAnalysisDTO selectByCode(String code, Integer type) {
        return mapper.selectByCode(code, type);
    }
}
